import Vue from 'vue'
import { Cascader } from 'element-ui'
import locale from 'element-ui/lib/locale/lang/zh-CN'

const components = [
    Cascader
]

const Element = {
    install (Vue) {
        components.forEach((component) => {
            Vue.component(component.name, component)
        })
    }
}

Vue.use(Element, { locale })
